import java.awt.*;

public class Shop {
    public static void paint(Graphics g)
    {
        g.drawImage(Sky.sky,0,300,null);
        g.drawImage(Sky.bg,0,200,null);
        System.out.println("...........");
        g.drawImage(Sky.yao,340,550,null);
        Sky.draw(g,60,"商店",320,280,Color.black);
        Sky.draw(g,30,"当前积分:  "+Sky.total,270,350,Color.black);
        //药水价格
        Sky.draw(g,30,"价格"+Sky.price,330,500,Color.black);
        Sky.draw(g,30,"是否购买?（购买点击左键，退出商店双击右键）",50,550,Color.black);
    }

}
